package com.zp.self;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 研究数据库的一些使用场景
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
// 添加此配置，否则 报`The dependencies of some of the beans in the application context form a cycle`
public class DbApplication {
    public static void main(String[] args) {
        SpringApplication.run(DbApplication.class,args);
    }
}
